import Vue from "vue";
// 引入组件库
import {
  Button,
  Row,
  Card,
  Form,
  FormItem,
  Input,
  Col,
  Menu,
  Submenu,
  MenuItemGroup,
  MenuItem,
  RadioButton,
  RadioGroup,
  Badge,
  Avatar,
  Calendar,
  Tag,
  DatePicker,
  Dialog,
  Timeline,
  TimelineItem,
  Table,
  TableColumn,
  Tabs,
  TabPane,
  InputNumber,
  Switch,
  Cascader,
  CheckboxGroup,
  Checkbox,
  Select,
  Option,
  Pagination,
  MessageBox,
  Message,
  Notification,
  Progress,
  CheckboxButton

} from "element-ui";
import "element-ui/lib/theme-chalk/index.css";

Vue.use(Button)
  .use(Row)
  .use(Option)
  .use(Pagination)
  .use(Select)
  .use(Card)
  .use(Form)
  .use(FormItem)
  .use(Col)
  .use(Menu)
  .use(Submenu)
  .use(MenuItem)
  .use( MenuItemGroup)
  .use( RadioButton)
  .use( RadioGroup)
  .use( Badge)
  .use( Avatar)
  .use( Calendar)
  .use( Tag)
  .use( DatePicker)
  .use( Dialog)
  .use( Timeline)
  .use( TimelineItem)
  .use( Table)
  .use( TableColumn)
  .use( TabPane)
  .use( Tabs)
  .use( InputNumber)
  .use( Switch)
  .use( Cascader)
  .use( Checkbox)
  .use( CheckboxGroup)
  .use( Progress)
  .use( CheckboxButton)
  .use(Input);
// 提示语挂载
Vue.prototype.$confirm = MessageBox.confirm;
Vue.prototype.$message = Message;
Vue.prototype.$notify = Notification;